using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Presenter;
using View;
using System.Reflection;

namespace VideoAndMap
{
    /// <summary>
    /// Map.
    /// </summary>
    public partial class Map : Page, IMapView
    {
        #region Members

        /// <summary>
        /// Map Presenter.
        /// </summary>
        private MapPresenter presenter;

        #endregion Members

        #region Override Methods

        /// <summary>
        /// Raises the <see cref="E:System.Web.UI.Control.Init"></see> event to initialize the page.
        /// </summary>
        /// <param name="e">An <see cref="T:System.EventArgs"></see> that contains the event data.</param>
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            presenter = new MapPresenter(this);
        }

        #endregion Override Methods

        #region Private Methods

        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            presenter.Initialize();
        }

        #endregion Private Methods

        #region IMapView Members

        /// <summary>
        /// Gets or sets the search text.
        /// </summary>
        /// <value>The search text.</value>
        public string SearchText
        {
            get
            {
                return string.Empty;
            }
            set
            {
                
            }
        }

        /// <summary>
        /// Gets or sets the location from.
        /// </summary>
        /// <value>The location from.</value>
        public string LocationFrom
        {
            get
            {
                return string.Empty;
            }
            set
            {
                
            }
        }

        /// <summary>
        /// Gets or sets the location to.
        /// </summary>
        /// <value>The location to.</value>
        public string LocationTo
        {
            get
            {
                return string.Empty;
            }
            set
            {
                
            }
        }

        #endregion IMapView Members
    }
}
